namespace HashFoo.Nhib
{
    /// <summary>
    /// Provides an db entity type that acts a as a simple enumeration FK
    /// </summary>
    public abstract class DbEnum
    {
        /// <summary>
        /// The internal, unique name of the enum.  Is converted to lower case, invarient culture.
        /// </summary>
        public virtual string InternalName { get; private set; }

        protected DbEnum() {}

        protected DbEnum(string internalName)
        {
            InternalName = internalName;
        }
    }
}